package com.ruoyi.yard.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 发货计划_构件对象 delivery_comp_ref
 * 
 * @author ruoyi
 * @date 2022-09-05
 */
public class DeliveryCompRef extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 项目编号 */
    @Excel(name = "项目编号")
    private String projectNo;

    /** 发货信息id */
    @Excel(name = "发货信息id")
    private String deliveryPlanNo;

    /** 库存构件id */
    @Excel(name = "库存构件id")
    private String warehouseCompomentNo;

    /** 构件名称 */
    @Excel(name = "构件名称")
    private String compomentName;

    /** 构件类型 */
    @Excel(name = "构件类型")
    private String compomentType;

    /** 要货数量 */
    @Excel(name = "要货数量")
    private Long needCount;

    ////////////////////////
    /** 重量*/
    private Double weight;

    ///////////////////////


    public String getCompomentType() {
        return compomentType;
    }

    public void setCompomentType(String compomentType) {
        this.compomentType = compomentType;
    }

    public Double getWeight() {
        return weight;
    }

    public void setWeight(Double weight) {
        this.weight = weight;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProjectNo(String projectNo) 
    {
        this.projectNo = projectNo;
    }

    public String getProjectNo() 
    {
        return projectNo;
    }
    public void setDeliveryPlanNo(String deliveryPlanNo)
    {
        this.deliveryPlanNo = deliveryPlanNo;
    }

    public String getDeliveryPlanNo()
    {
        return deliveryPlanNo;
    }
    public void setWarehouseCompomentNo(String warehouseCompomentNo)
    {
        this.warehouseCompomentNo = warehouseCompomentNo;
    }

    public String getWarehouseCompomentNo()
    {
        return warehouseCompomentNo;
    }
    public void setCompomentName(String compomentName) 
    {
        this.compomentName = compomentName;
    }

    public String getCompomentName() 
    {
        return compomentName;
    }
    public void setNeedCount(Long needCount) 
    {
        this.needCount = needCount;
    }

    public Long getNeedCount() 
    {
        return needCount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("projectNo", getProjectNo())
            .append("deliveryPlanNo", getDeliveryPlanNo())
            .append("warehouseCompomentNo", getWarehouseCompomentNo())
            .append("compomentName", getCompomentName())
            .append("needCount", getNeedCount())
            .toString();
    }
}
